package com.hcl.producer;

import org.hcl.common.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: cailong
 * @Date: 2021/6/4 22:46
 * @Description:
 */
@FeignClient(value = "dbService")
public interface DBServiceClient {

    @RequestMapping("/send/{uid}")
    User getUser(@PathVariable("uid") String uid);


}
